import request from "@/network/request.js";

let headers={
    'auth':localStorage.getItem('token')
}

function HomeBander(){
   return request({
       url:'/banner/query',
       method:'post',
       headers
    })
}
function HomeLeftMenu(data){
    return request({
        url:'/categoiry/query',
        method:'post',
        data:data,
        headers
     })
 }
 function HomeRightProduct(data){
    return request({
        url:'/product/query',
        method:'post',
        data:data,
        headers
     })
 }
export  {HomeBander , HomeLeftMenu,HomeRightProduct}